#ifndef _RS_H
#define _RS_H

#include <avr/io.h>
#include <avr/pgmspace.h>
#include <inttypes.h>
#include <stdio.h>

typedef struct _UART_BAUD_DATA
{
  uint16_t baud;	
  uint16_t ubrr;
} UART_BAUD_DATA;



#define UART_BAUD_index 2

extern void		rs_init		(void);
extern int		rs_putc		(char data,FILE*);
extern int		rs_getc		(FILE*);

#endif //_RS_H